package com.intellagric.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class IftCheckItemExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public IftCheckItemExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaIsNull() {
            addCriterion("ch_corrFormula is null");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaIsNotNull() {
            addCriterion("ch_corrFormula is not null");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaEqualTo(String value) {
            addCriterion("ch_corrFormula =", value, "chCorrformula");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaNotEqualTo(String value) {
            addCriterion("ch_corrFormula <>", value, "chCorrformula");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaGreaterThan(String value) {
            addCriterion("ch_corrFormula >", value, "chCorrformula");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaGreaterThanOrEqualTo(String value) {
            addCriterion("ch_corrFormula >=", value, "chCorrformula");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaLessThan(String value) {
            addCriterion("ch_corrFormula <", value, "chCorrformula");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaLessThanOrEqualTo(String value) {
            addCriterion("ch_corrFormula <=", value, "chCorrformula");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaLike(String value) {
            addCriterion("ch_corrFormula like", value, "chCorrformula");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaNotLike(String value) {
            addCriterion("ch_corrFormula not like", value, "chCorrformula");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaIn(List<String> values) {
            addCriterion("ch_corrFormula in", values, "chCorrformula");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaNotIn(List<String> values) {
            addCriterion("ch_corrFormula not in", values, "chCorrformula");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaBetween(String value1, String value2) {
            addCriterion("ch_corrFormula between", value1, value2, "chCorrformula");
            return (Criteria) this;
        }

        public Criteria andChCorrformulaNotBetween(String value1, String value2) {
            addCriterion("ch_corrFormula not between", value1, value2, "chCorrformula");
            return (Criteria) this;
        }

        public Criteria andChCorrcycIsNull() {
            addCriterion("ch_corrCyc is null");
            return (Criteria) this;
        }

        public Criteria andChCorrcycIsNotNull() {
            addCriterion("ch_corrCyc is not null");
            return (Criteria) this;
        }

        public Criteria andChCorrcycEqualTo(String value) {
            addCriterion("ch_corrCyc =", value, "chCorrcyc");
            return (Criteria) this;
        }

        public Criteria andChCorrcycNotEqualTo(String value) {
            addCriterion("ch_corrCyc <>", value, "chCorrcyc");
            return (Criteria) this;
        }

        public Criteria andChCorrcycGreaterThan(String value) {
            addCriterion("ch_corrCyc >", value, "chCorrcyc");
            return (Criteria) this;
        }

        public Criteria andChCorrcycGreaterThanOrEqualTo(String value) {
            addCriterion("ch_corrCyc >=", value, "chCorrcyc");
            return (Criteria) this;
        }

        public Criteria andChCorrcycLessThan(String value) {
            addCriterion("ch_corrCyc <", value, "chCorrcyc");
            return (Criteria) this;
        }

        public Criteria andChCorrcycLessThanOrEqualTo(String value) {
            addCriterion("ch_corrCyc <=", value, "chCorrcyc");
            return (Criteria) this;
        }

        public Criteria andChCorrcycLike(String value) {
            addCriterion("ch_corrCyc like", value, "chCorrcyc");
            return (Criteria) this;
        }

        public Criteria andChCorrcycNotLike(String value) {
            addCriterion("ch_corrCyc not like", value, "chCorrcyc");
            return (Criteria) this;
        }

        public Criteria andChCorrcycIn(List<String> values) {
            addCriterion("ch_corrCyc in", values, "chCorrcyc");
            return (Criteria) this;
        }

        public Criteria andChCorrcycNotIn(List<String> values) {
            addCriterion("ch_corrCyc not in", values, "chCorrcyc");
            return (Criteria) this;
        }

        public Criteria andChCorrcycBetween(String value1, String value2) {
            addCriterion("ch_corrCyc between", value1, value2, "chCorrcyc");
            return (Criteria) this;
        }

        public Criteria andChCorrcycNotBetween(String value1, String value2) {
            addCriterion("ch_corrCyc not between", value1, value2, "chCorrcyc");
            return (Criteria) this;
        }

        public Criteria andChMinIsNull() {
            addCriterion("ch_min is null");
            return (Criteria) this;
        }

        public Criteria andChMinIsNotNull() {
            addCriterion("ch_min is not null");
            return (Criteria) this;
        }

        public Criteria andChMinEqualTo(String value) {
            addCriterion("ch_min =", value, "chMin");
            return (Criteria) this;
        }

        public Criteria andChMinNotEqualTo(String value) {
            addCriterion("ch_min <>", value, "chMin");
            return (Criteria) this;
        }

        public Criteria andChMinGreaterThan(String value) {
            addCriterion("ch_min >", value, "chMin");
            return (Criteria) this;
        }

        public Criteria andChMinGreaterThanOrEqualTo(String value) {
            addCriterion("ch_min >=", value, "chMin");
            return (Criteria) this;
        }

        public Criteria andChMinLessThan(String value) {
            addCriterion("ch_min <", value, "chMin");
            return (Criteria) this;
        }

        public Criteria andChMinLessThanOrEqualTo(String value) {
            addCriterion("ch_min <=", value, "chMin");
            return (Criteria) this;
        }

        public Criteria andChMinLike(String value) {
            addCriterion("ch_min like", value, "chMin");
            return (Criteria) this;
        }

        public Criteria andChMinNotLike(String value) {
            addCriterion("ch_min not like", value, "chMin");
            return (Criteria) this;
        }

        public Criteria andChMinIn(List<String> values) {
            addCriterion("ch_min in", values, "chMin");
            return (Criteria) this;
        }

        public Criteria andChMinNotIn(List<String> values) {
            addCriterion("ch_min not in", values, "chMin");
            return (Criteria) this;
        }

        public Criteria andChMinBetween(String value1, String value2) {
            addCriterion("ch_min between", value1, value2, "chMin");
            return (Criteria) this;
        }

        public Criteria andChMinNotBetween(String value1, String value2) {
            addCriterion("ch_min not between", value1, value2, "chMin");
            return (Criteria) this;
        }

        public Criteria andChMaxIsNull() {
            addCriterion("ch_max is null");
            return (Criteria) this;
        }

        public Criteria andChMaxIsNotNull() {
            addCriterion("ch_max is not null");
            return (Criteria) this;
        }

        public Criteria andChMaxEqualTo(String value) {
            addCriterion("ch_max =", value, "chMax");
            return (Criteria) this;
        }

        public Criteria andChMaxNotEqualTo(String value) {
            addCriterion("ch_max <>", value, "chMax");
            return (Criteria) this;
        }

        public Criteria andChMaxGreaterThan(String value) {
            addCriterion("ch_max >", value, "chMax");
            return (Criteria) this;
        }

        public Criteria andChMaxGreaterThanOrEqualTo(String value) {
            addCriterion("ch_max >=", value, "chMax");
            return (Criteria) this;
        }

        public Criteria andChMaxLessThan(String value) {
            addCriterion("ch_max <", value, "chMax");
            return (Criteria) this;
        }

        public Criteria andChMaxLessThanOrEqualTo(String value) {
            addCriterion("ch_max <=", value, "chMax");
            return (Criteria) this;
        }

        public Criteria andChMaxLike(String value) {
            addCriterion("ch_max like", value, "chMax");
            return (Criteria) this;
        }

        public Criteria andChMaxNotLike(String value) {
            addCriterion("ch_max not like", value, "chMax");
            return (Criteria) this;
        }

        public Criteria andChMaxIn(List<String> values) {
            addCriterion("ch_max in", values, "chMax");
            return (Criteria) this;
        }

        public Criteria andChMaxNotIn(List<String> values) {
            addCriterion("ch_max not in", values, "chMax");
            return (Criteria) this;
        }

        public Criteria andChMaxBetween(String value1, String value2) {
            addCriterion("ch_max between", value1, value2, "chMax");
            return (Criteria) this;
        }

        public Criteria andChMaxNotBetween(String value1, String value2) {
            addCriterion("ch_max not between", value1, value2, "chMax");
            return (Criteria) this;
        }

        public Criteria andChDecdigIsNull() {
            addCriterion("ch_decDig is null");
            return (Criteria) this;
        }

        public Criteria andChDecdigIsNotNull() {
            addCriterion("ch_decDig is not null");
            return (Criteria) this;
        }

        public Criteria andChDecdigEqualTo(String value) {
            addCriterion("ch_decDig =", value, "chDecdig");
            return (Criteria) this;
        }

        public Criteria andChDecdigNotEqualTo(String value) {
            addCriterion("ch_decDig <>", value, "chDecdig");
            return (Criteria) this;
        }

        public Criteria andChDecdigGreaterThan(String value) {
            addCriterion("ch_decDig >", value, "chDecdig");
            return (Criteria) this;
        }

        public Criteria andChDecdigGreaterThanOrEqualTo(String value) {
            addCriterion("ch_decDig >=", value, "chDecdig");
            return (Criteria) this;
        }

        public Criteria andChDecdigLessThan(String value) {
            addCriterion("ch_decDig <", value, "chDecdig");
            return (Criteria) this;
        }

        public Criteria andChDecdigLessThanOrEqualTo(String value) {
            addCriterion("ch_decDig <=", value, "chDecdig");
            return (Criteria) this;
        }

        public Criteria andChDecdigLike(String value) {
            addCriterion("ch_decDig like", value, "chDecdig");
            return (Criteria) this;
        }

        public Criteria andChDecdigNotLike(String value) {
            addCriterion("ch_decDig not like", value, "chDecdig");
            return (Criteria) this;
        }

        public Criteria andChDecdigIn(List<String> values) {
            addCriterion("ch_decDig in", values, "chDecdig");
            return (Criteria) this;
        }

        public Criteria andChDecdigNotIn(List<String> values) {
            addCriterion("ch_decDig not in", values, "chDecdig");
            return (Criteria) this;
        }

        public Criteria andChDecdigBetween(String value1, String value2) {
            addCriterion("ch_decDig between", value1, value2, "chDecdig");
            return (Criteria) this;
        }

        public Criteria andChDecdigNotBetween(String value1, String value2) {
            addCriterion("ch_decDig not between", value1, value2, "chDecdig");
            return (Criteria) this;
        }

        public Criteria andChtypeNoIsNull() {
            addCriterion("chtype_no is null");
            return (Criteria) this;
        }

        public Criteria andChtypeNoIsNotNull() {
            addCriterion("chtype_no is not null");
            return (Criteria) this;
        }

        public Criteria andChtypeNoEqualTo(String value) {
            addCriterion("chtype_no =", value, "chtypeNo");
            return (Criteria) this;
        }

        public Criteria andChtypeNoNotEqualTo(String value) {
            addCriterion("chtype_no <>", value, "chtypeNo");
            return (Criteria) this;
        }

        public Criteria andChtypeNoGreaterThan(String value) {
            addCriterion("chtype_no >", value, "chtypeNo");
            return (Criteria) this;
        }

        public Criteria andChtypeNoGreaterThanOrEqualTo(String value) {
            addCriterion("chtype_no >=", value, "chtypeNo");
            return (Criteria) this;
        }

        public Criteria andChtypeNoLessThan(String value) {
            addCriterion("chtype_no <", value, "chtypeNo");
            return (Criteria) this;
        }

        public Criteria andChtypeNoLessThanOrEqualTo(String value) {
            addCriterion("chtype_no <=", value, "chtypeNo");
            return (Criteria) this;
        }

        public Criteria andChtypeNoLike(String value) {
            addCriterion("chtype_no like", value, "chtypeNo");
            return (Criteria) this;
        }

        public Criteria andChtypeNoNotLike(String value) {
            addCriterion("chtype_no not like", value, "chtypeNo");
            return (Criteria) this;
        }

        public Criteria andChtypeNoIn(List<String> values) {
            addCriterion("chtype_no in", values, "chtypeNo");
            return (Criteria) this;
        }

        public Criteria andChtypeNoNotIn(List<String> values) {
            addCriterion("chtype_no not in", values, "chtypeNo");
            return (Criteria) this;
        }

        public Criteria andChtypeNoBetween(String value1, String value2) {
            addCriterion("chtype_no between", value1, value2, "chtypeNo");
            return (Criteria) this;
        }

        public Criteria andChtypeNoNotBetween(String value1, String value2) {
            addCriterion("chtype_no not between", value1, value2, "chtypeNo");
            return (Criteria) this;
        }

        public Criteria andChFileIsNull() {
            addCriterion("ch_file is null");
            return (Criteria) this;
        }

        public Criteria andChFileIsNotNull() {
            addCriterion("ch_file is not null");
            return (Criteria) this;
        }

        public Criteria andChFileEqualTo(String value) {
            addCriterion("ch_file =", value, "chFile");
            return (Criteria) this;
        }

        public Criteria andChFileNotEqualTo(String value) {
            addCriterion("ch_file <>", value, "chFile");
            return (Criteria) this;
        }

        public Criteria andChFileGreaterThan(String value) {
            addCriterion("ch_file >", value, "chFile");
            return (Criteria) this;
        }

        public Criteria andChFileGreaterThanOrEqualTo(String value) {
            addCriterion("ch_file >=", value, "chFile");
            return (Criteria) this;
        }

        public Criteria andChFileLessThan(String value) {
            addCriterion("ch_file <", value, "chFile");
            return (Criteria) this;
        }

        public Criteria andChFileLessThanOrEqualTo(String value) {
            addCriterion("ch_file <=", value, "chFile");
            return (Criteria) this;
        }

        public Criteria andChFileLike(String value) {
            addCriterion("ch_file like", value, "chFile");
            return (Criteria) this;
        }

        public Criteria andChFileNotLike(String value) {
            addCriterion("ch_file not like", value, "chFile");
            return (Criteria) this;
        }

        public Criteria andChFileIn(List<String> values) {
            addCriterion("ch_file in", values, "chFile");
            return (Criteria) this;
        }

        public Criteria andChFileNotIn(List<String> values) {
            addCriterion("ch_file not in", values, "chFile");
            return (Criteria) this;
        }

        public Criteria andChFileBetween(String value1, String value2) {
            addCriterion("ch_file between", value1, value2, "chFile");
            return (Criteria) this;
        }

        public Criteria andChFileNotBetween(String value1, String value2) {
            addCriterion("ch_file not between", value1, value2, "chFile");
            return (Criteria) this;
        }

        public Criteria andUnitIsNull() {
            addCriterion("unit is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("unit is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("unit =", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotEqualTo(String value) {
            addCriterion("unit <>", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("unit >", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThanOrEqualTo(String value) {
            addCriterion("unit >=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThan(String value) {
            addCriterion("unit <", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThanOrEqualTo(String value) {
            addCriterion("unit <=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLike(String value) {
            addCriterion("unit like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotLike(String value) {
            addCriterion("unit not like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitIn(List<String> values) {
            addCriterion("unit in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotIn(List<String> values) {
            addCriterion("unit not in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitBetween(String value1, String value2) {
            addCriterion("unit between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotBetween(String value1, String value2) {
            addCriterion("unit not between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andCorrUnitIsNull() {
            addCriterion("corr_unit is null");
            return (Criteria) this;
        }

        public Criteria andCorrUnitIsNotNull() {
            addCriterion("corr_unit is not null");
            return (Criteria) this;
        }

        public Criteria andCorrUnitEqualTo(String value) {
            addCriterion("corr_unit =", value, "corrUnit");
            return (Criteria) this;
        }

        public Criteria andCorrUnitNotEqualTo(String value) {
            addCriterion("corr_unit <>", value, "corrUnit");
            return (Criteria) this;
        }

        public Criteria andCorrUnitGreaterThan(String value) {
            addCriterion("corr_unit >", value, "corrUnit");
            return (Criteria) this;
        }

        public Criteria andCorrUnitGreaterThanOrEqualTo(String value) {
            addCriterion("corr_unit >=", value, "corrUnit");
            return (Criteria) this;
        }

        public Criteria andCorrUnitLessThan(String value) {
            addCriterion("corr_unit <", value, "corrUnit");
            return (Criteria) this;
        }

        public Criteria andCorrUnitLessThanOrEqualTo(String value) {
            addCriterion("corr_unit <=", value, "corrUnit");
            return (Criteria) this;
        }

        public Criteria andCorrUnitLike(String value) {
            addCriterion("corr_unit like", value, "corrUnit");
            return (Criteria) this;
        }

        public Criteria andCorrUnitNotLike(String value) {
            addCriterion("corr_unit not like", value, "corrUnit");
            return (Criteria) this;
        }

        public Criteria andCorrUnitIn(List<String> values) {
            addCriterion("corr_unit in", values, "corrUnit");
            return (Criteria) this;
        }

        public Criteria andCorrUnitNotIn(List<String> values) {
            addCriterion("corr_unit not in", values, "corrUnit");
            return (Criteria) this;
        }

        public Criteria andCorrUnitBetween(String value1, String value2) {
            addCriterion("corr_unit between", value1, value2, "corrUnit");
            return (Criteria) this;
        }

        public Criteria andCorrUnitNotBetween(String value1, String value2) {
            addCriterion("corr_unit not between", value1, value2, "corrUnit");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("del_flag like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("del_flag not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}